<?php 
    $total = count($posts);
?>
<div style="clear:both;"></div>
<div class="sub_relative">
	<div class="overflow_box">
    <?php foreach($posts as $post):?>
    <div class="item"> 
        <a href="#" title="có dấu">
            <img width="202" height="121" src="<?php echo $post->image;?>" alt="<?php echo str_replace('-', ' ', $post->post_slug);?>">
        </a>
        <a class="font_title" href="<?php echo $post->url;?>" title="<?php echo $post->post_title;?>">
            <?php echo $post->post_title; ?>
        </a>
    </div>
    <?php endforeach; ?>
</div>
</div>
<div style="clear:both;"></div>